<?php


namespace App\Consts\ErrorCode;

/**
 * 2位平台号+2位模块号+3位功能+3位业务码号
 * 内部平台号为10,任务模块03，发单功能为01，业务错误001
 *
 *
 * Class TaskOrderErrorCode
 * @package App\Consts\ErrorCode
 */
class TaskOrderErrorCode
{
    const SAVE_PARAM_CHECK_CATEGORY = 100301001;
    const SAVE_PARAM_CHECK_MONEY = 100301002;
    const SAVE_PARAM_CHECK_ADDRESS = 100301003;
    const SAVE_PARAM_CHECK_ADDRESS_LIMIT = 100301004;
    const SAVE_PARAM_CHECK_TYPE = 100301005;
    const SAVE_PARAM_CHECK_NAME = 100301006;
    const SAVE_PARAM_CHECK_NAME_LENGTH = 100301007;
    const SAVE_PARAM_CHECK_USER = 100301008;
    const SAVE_PARAM_CHECK_PIC = 100301009;
    const SAVE_PARAM_CHECK_VIDEO = 100301010;
    const SAVE_PARAM_CHECK_CONTENT = 100301011;
    const SAVE_PARAM_CHECK_NO = 100301012;
    const SAVE_PARAM_CHECK_TIME = 100301013;
    const SAVE_PARAM_CHECK_SERVICE = 100301014;
    const SAVE_PARAM_CHECK_SERVICE_NO_CHANGE = 100301015;
    const SAVE_PARAM_CHECK_SERVICE_NO_CHANGE_URGE = 100301016;
    const SAVE_PARAM_CHECK_SERVICE_NO_CHANGE_FACE = 100301017;
    const SAVE_PARAM_CHECK_SERVICE_NO_CHANGE_INSURANCE = 100301018;
    const SAVE_PARAM_CHECK_TYPE_CHANGE =  100301019;
    const SAVE_PARAM_CHECK_TYPE_CHANGE_PRICE =  100301020;
    const SAVE_PARAM_CHECK_STATE_UN_MODIFY = 100301021;
    const SAVE_PARAM_CHECK_TASK_NOT_EXIST = 100301022;
    const SAVE_FAILED =  100301023;

    const CANCEL_PARAM_CHECK_CANCEL = 100302001;
    const CANCEL_FAILED =  100302002;

    const PERMISSION_NOT_ALLOW = 100303001;

    const CONFIRM_HELPER = 100304001;
    const CONFIRM_UN_PAY = 100304002;
    const CONFIRM_SELECTED = 100304003;
    const CONFIRM_INFO_ERROR = 100304004;
    const CONFIRM_HELPER_ERROR = 100304005;
    const CONFIRM_TASK_EXPIRED = 100304006;
    const CONFIRM_TASK_FAILED = 100304007;

    const COMPLETE_FAILED =  100305001;

    const STATE_COMPLETE =  100306001;
    const STATE_CANCELED =  100306002;
    const STATE_NO_DELIVERED =  100306003;
    const STATE_NO_RECEIVE = 100306004;
    const STATE_RECEIVED = 100306005;
    const STATE_DELIVERED = 100306006;

    const REFUSE_DELIVERED_FAILED = 100307001;

    const DEFER_NOT_EXIST = 100308001;
    const DEFER_STATE_ERROR = 100308002;
}
